/*
 * @Descripttion: 
 * @version: 
 * @Author: kl2018
 * @Date: 2019-03-07 20:06:15
 * @LastEditors: kl2018
 * @LastEditTime: 2020-06-23 09:54:34
 */
import { WeaRightMenu, WeaTop } from "ecCom";
import RightMenu from "../public/RightMenu";
import * as allRightMenuConfigs from "../constants/allRightMenuConfigs";

class DocCenter extends React.Component {
  render() {
    const pagetitle = "公文中心";
    const loading = true;
    return (
      <div style={{ height: "100%" }}>
        <WeaRightMenu
          datas={(() => {
            return RightMenu(allRightMenuConfigs.sendDocConfigs1);
          })()}
        >
          <WeaTop
            title={pagetitle}
            loading={loading}
            icon={<i className="icon-coms-official" />}
            iconBgcolor={"#F14A2D"}
            showDropIcon={true}
            dropMenuDatas={(() => {
              return RightMenu(allRightMenuConfigs.sendDocConfigs1);
            })()}
          />
        </WeaRightMenu>
      </div>
    );
  }
}

export default DocCenter;
